# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy

#爬取内容的主题
class WebspiderItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    positionName = scrapy.Field() #职业名
    companyFullName = scrapy.Field() #公司名
    salary = scrapy.Field() #薪资
    salary_min = scrapy.Field() #最大
    salary_max = scrapy.Field() #最小
    location = scrapy.Field() #具体地点
    area = scrapy.Field()  #区域
    time = scrapy.Field() #发布时间
    url = scrapy.Field() #详细链接
    Key_word = scrapy.Field() #职业关键词
    tags = scrapy.Field()

class job_2spiderItem(scrapy.Item):
    url = scrapy.Field()  # 详情页面的url地址
    name = scrapy.Field()  # 岗位名称
    company = scrapy.Field()  # 公司名称
    salary = scrapy.Field()  # 薪水
    release_time = scrapy.Field()  # 发布时间
    location = scrapy.Field()  # 地址
    work_exp = scrapy.Field()  # 工作经验
    edu_background = scrapy.Field()  # 学历要求
    company_nature = scrapy.Field() #公司性质
    company_scale = scrapy.Field() #公司规模
<<<<<<< HEAD
    key_word = scrapy.Field()
    salary_min = scrapy.Field()
    salary_max = scrapy.Field()
    area = scrapy.Field()
=======

>>>>>>> a14f5150eb56dfc65bb96f2ac8b48776d600553f

class LagouspiderItem(scrapy.Item):
    url = scrapy.Field()  # 详情页面的url地址
    name = scrapy.Field()  # 岗位名称
    salary = scrapy.Field()  # 薪水
    location = scrapy.Field()  # 地址
    work_exp = scrapy.Field()  # 工作经验
    edu_background = scrapy.Field()  # 学历要求
    type = scrapy.Field()  # 工作类型
    tags = scrapy.Field()  # 标签
    release_time = scrapy.Field()  # 发布时间
    advantage = scrapy.Field()  # 职位诱惑
    job_desc = scrapy.Field()  # 职位描述
    work_addr = scrapy.Field()  # 工作地址
    company = scrapy.Field()  # 公司名称